package com.LA_houseLease.admin.service.impl;


import com.LA_houseLease.admin.mapper.UserInfoMapper;
import com.LA_houseLease.admin.service.UserInfoService;
import com.LA_houseLease.admin.vo.user.UserInfoQueryVo;
import com.LA_houseLease.pojo.entity.UserInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author liubo
* @description 针对表【user_info(用户信息表)】的数据库操作Service实现
* @createDate 2023-07-24 15:48:00
*/
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo>
    implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    /**
     * 分页查询用户信息
     * @param page
     * @param queryVo
     * @return
     */
    @Override
    public IPage<UserInfo> pageUserInfo(Page<UserInfo> page, UserInfoQueryVo queryVo) {
        return userInfoMapper.pageUserInfo(page,queryVo);
    }
}




